package cn.lingyangwl.agile.pay.pay.model.rqrs.payorder;

import cn.lingyangwl.agile.pay.constant.PayDataTypeEnum;
import cn.lingyangwl.agile.pay.model.rqrs.pay.payorder.UnifiedOrderRS;
import cn.lingyangwl.agile.pay.pay.model.rqrs.ChannelRetMsgExt;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

/**
 * @author shenguangyang
 */
@Getter
@Setter
public class UnifiedOrderExtRS extends UnifiedOrderRS {
    @JSONField(serialize = false)
    @JsonIgnore
    private ChannelRetMsgExt channelRetMsg;

    /**
     * 生成聚合支付参数 (仅统一下单接口使用)
     */
    public String buildPayDataType() {
        return PayDataTypeEnum.NONE.getCode();
    }

    /**
     * 生成支付参数
     */
    public String buildPayData() {
        return "";
    }
}
